package com.syeet.gulimall.order.feign;

import com.syeet.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author xhl
 * @date 2023/5/28
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {

    @GetMapping("/product/spuinfo/spuInfo/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") Long skuId);
}
